<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<jsp:include page="./navHeader.jsp" />
<script src="${pageContext.request.contextPath}/js/init-menu.js"></script>
<script type="text/javascript">
	$(function() {
		var $iframe = $('#mix-iframe-content');
		utils.iframeAutoListner($iframe);
		$iframe.height(LayoutUtils.mainHeight());
		$(window).resize(function(){
			$iframe.height(LayoutUtils.mainHeight());
		});
	});
</script>
<div class="mix-body">
	<div class="container-fluid">
		<div class="row">
			<div class="menu-arrow-show" title="显示菜单">
				<div class="menu-arrow-icon">
					<i class="fa fa-angle-double-right fa-lg"></i>
				</div>
			</div>
			<div class="col-sm-4 col-md-3 col-lg-2 mix-nav-menu">
				<div class="sidebar">
					<div class="mix-nav-menu-title">
						<i class="fa fa-th-large fa-lg"></i> 系统菜单
						<div class="menu-arrow" title="收起菜单">
							<div class="menu-arrow-icon">
								<i class="fa fa-angle-double-left fa-lg"></i>
							</div>
						</div>
					</div>
					<div class="sidebar-nav">
						<ul id="mix-menu-nav" class="metismenu"></ul>
					</div>
				</div>
			</div><!-- end col-sm-* -->
			<div id="mix-main-content" class="col-sm-8 col-md-9 col-lg-10 main">
			    <!-- 
				<iframe id="mix-iframe-content" name="mixIframeContent" width="100%"
					frameborder="no" border="0" scrolling="no" src="welcome.do"></iframe>
					 -->
			    <div id="main-tabs" class="mix-tabs">
			    	
			    </div>
			</div><!-- end main -->
		</div>
	</div><!-- end container-fluid -->
</div><!-- end mix-body -->
<script type="text/javascript">
	$.get("menu/items.do", function(result) {
		result = $.parseJSON(result);
		if (result.result == '1') {
			$("#mix-menu-nav").initMenu({
				datas : result.datas
			});
		}
	});
</script>